package AIRProject.filemanager
{
	import flash.events.Event;
	import flash.events.FileListEvent;
	import flash.events.IEventDispatcher;
	import flash.filesystem.File;
	
	/**
	 * ...
	 * @author FireKnight
	 */
	public class BrowseForOpen extends BrowseForDirectory
	{
		protected var fileTypes:Array;
		
		public function BrowseForOpen(fileTypes:Array, title:String, openHandler:Function)
		{
			this.fileTypes = fileTypes;
			super(title, openHandler);
		}
		
		override protected function doOpen():void
		{
			file.browseForOpen(title, fileTypes);
		}
	
	}

}